addABTest

open fun addABTest(name: String, percentage: Int)

Adds an A/B test

Parameters

name

the name of the test

percentage

an int indicating the percentage of the time the test should be used. This value should be between 0 and 100 and the sum of all the test percentages must be 100.